package com.hk.commons.entity.view;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 系统用户导出excel表的视图，因为会绑多张银行卡，一个用户会有多条数据
 * @author Evan
 * @date 2017/12/7
 */
@Entity
@Table(name = "sysUserExcelView")
public class SysUserExcelView implements Serializable  {
    /**
     * 复合主键，userId+paymentId
     */
    @EmbeddedId
    private SysUserExcelViewId sysUserExcelViewId;


    /**
     * 用户真实姓名
     */
    private String userRealName;

    /**
     * 用户手机号
     */
    private String userPhone;

    /**
     * 用户所属渠道
     */
    private Integer userChannel;

    /**
     * 用户推荐码
     */
    private String recommendCode;

    /**
     * 是否绑卡
     */
    private Integer  tieCard;

    /**
     * 是否为理财师
     */
    private Integer  isInside;

    /**
     * 用户组织架构id
     */
    private Integer userOrgId;

    /**
     * 用户组织架构Code
     */
    private String userOrgCode;

    /**
     * 用户组织架构名称
     */
    private String userOrgName;

    /**
     *用户绑卡的渠道
     */
    private String supportCompany;

    /**
     * 银行卡号
     */
    private String paymentNo;

    /**
     * 银行卡名称
     */
    private String bankName;

    /**
     * 绑卡状态
     */
    private Integer cardStatus;

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 用户职务
     */
    private String userPost;

    /**
     * 理财师的手机号
     */
    private String finPhone;

    /**
     * 理财师的真实姓名
     */
    private String finUserRealName;

    /**
     * 理财师所属渠道
     */
    private Integer finChannel;

    /**
     * 理财师组织架构id
     */
    private Integer finOrgId;

    /**
     * 理财师组织架构Code
     */
    private String finOrgCode;

    /**
     * 理财师组织机构全名
     */
    private String finOrgName;

    /**
     * 注册人
     */
    private Long creator;

    /**
     * 级别
     */
    private Integer level;

    /**
     * 离职时间
     */
    private Long LeaveTime;

    /**
     * 注册时间
     */
    private Long registCts;

    /**
     * 离职状态 0在离，1已离职
     */
    private Integer onType;

    /**
     * 是否已销户,0:未销户;1:已销户
     */
    private Integer closeAccount;

    public String getUserRealName() {
        return userRealName;
    }

    public void setUserRealName(String userRealName) {
        this.userRealName = userRealName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Integer getUserChannel() {
        return userChannel;
    }

    public void setUserChannel(Integer userChannel) {
        this.userChannel = userChannel;
    }

    public String getRecommendCode() {
        return recommendCode;
    }

    public void setRecommendCode(String recommendCode) {
        this.recommendCode = recommendCode;
    }

    public Integer getTieCard() {
        return tieCard;
    }

    public void setTieCard(Integer tieCard) {
        this.tieCard = tieCard;
    }

    public Integer getIsInside() {
        return isInside;
    }

    public void setIsInside(Integer isInside) {
        this.isInside = isInside;
    }

    public Integer getUserOrgId() {
        return userOrgId;
    }

    public void setUserOrgId(Integer userOrgId) {
        this.userOrgId = userOrgId;
    }

    public String getUserOrgCode() {
        return userOrgCode;
    }

    public void setUserOrgCode(String userOrgCode) {
        this.userOrgCode = userOrgCode;
    }

    public String getUserOrgName() {
        return userOrgName;
    }

    public void setUserOrgName(String userOrgName) {
        this.userOrgName = userOrgName;
    }

    public String getSupportCompany() {
        return supportCompany;
    }

    public void setSupportCompany(String supportCompany) {
        this.supportCompany = supportCompany;
    }

    public String getPaymentNo() {
        return paymentNo;
    }

    public void setPaymentNo(String paymentNo) {
        this.paymentNo = paymentNo;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Integer getCardStatus() {
        return cardStatus;
    }

    public void setCardStatus(Integer cardStatus) {
        this.cardStatus = cardStatus;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getUserPost() {
        return userPost;
    }

    public void setUserPost(String userPost) {
        this.userPost = userPost;
    }

    public String getFinPhone() {
        return finPhone;
    }

    public void setFinPhone(String finPhone) {
        this.finPhone = finPhone;
    }

    public String getFinUserRealName() {
        return finUserRealName;
    }

    public void setFinUserRealName(String finUserRealName) {
        this.finUserRealName = finUserRealName;
    }

    public Integer getFinChannel() {
        return finChannel;
    }

    public void setFinChannel(Integer finChannel) {
        this.finChannel = finChannel;
    }

    public Integer getFinOrgId() {
        return finOrgId;
    }

    public void setFinOrgId(Integer finOrgId) {
        this.finOrgId = finOrgId;
    }

    public String getFinOrgCode() {
        return finOrgCode;
    }

    public void setFinOrgCode(String finOrgCode) {
        this.finOrgCode = finOrgCode;
    }

    public String getFinOrgName() {
        return finOrgName;
    }

    public void setFinOrgName(String finOrgName) {
        this.finOrgName = finOrgName;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getLeaveTime() {
        return LeaveTime;
    }

    public void setLeaveTime(Long leaveTime) {
        LeaveTime = leaveTime;
    }

    public Long getRegistCts() {
        return registCts;
    }

    public void setRegistCts(Long registCts) {
        this.registCts = registCts;
    }

    public Integer getOnType() {
        return onType;
    }

    public void setOnType(Integer onType) {
        this.onType = onType;
    }

    public Integer getCloseAccount() {
        return closeAccount;
    }

    public void setCloseAccount(Integer closeAccount) {
        this.closeAccount = closeAccount;
    }

    public SysUserExcelViewId getSysUserExcelViewId() {
        return sysUserExcelViewId;
    }

    public void setSysUserExcelViewId(SysUserExcelViewId sysUserExcelViewId) {
        this.sysUserExcelViewId = sysUserExcelViewId;
    }
}
